package com.tbit.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * oss默认配置
 *
 * @Author:BUGTian
 * @DATE: 2023/6/20
 */
@ConfigurationProperties(prefix = "oss")
@Component
@Data
public class OssDefaultConfig {
    /**
     * 接入点
     */
    private String endpoint;
    /**
     * key
     */
    private String accessKeyId;
    /**
     * secret
     */
    private String accessKeySecret;

    /**
     * sls 接入点
     */
    private String slsEndpoint = "cn-hangzhou.log.aliyuncs.com";
}
